﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HRM.DAL.DAO;
using HRM.DAL.Gateway;

namespace HRM.BLL
{
    public class CertificateManager
    {
        CertificateGateway gateway = new CertificateGateway();
        public bool SaveCertificate(Certificate certificate)
        {
            return gateway.SaveCertificate(certificate);
        }

        public List<Certificate> GetCertificates(Certificate certificate)
        {
            return gateway.GetCertificates(certificate);
        }
    }
}